#pragma once
#include "eventhandler.h"
#include "Reactor.h"
#include "SOCK_Acceptor.h"
#include "PatientEvent.h"
#include <time.h>
#include <iostream>


namespace Network  {

	class PatientEventHandler : EventHandler {
		protected:
			SOCK_Acceptor* listener;

		public:
			PatientEventHandler(const INET_Addr& ipAddress);
			~PatientEventHandler() {  } 

			virtual void handle(unsigned char* data);
			virtual SOCK_Acceptor getHandle() { return *listener; };
			virtual EventType getType(){return PATIENT_EVENT;}
	};
}